home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 26 / AMIGAplus Sonderheft 26 (2000)(Falke)(DE)(Track 1 of 2)[!].iso / Tools / Packer / xfd / Developer / Sources / C / ReadMe < prev    next >
Text File  |  1999-03-29  |  1KB  |  36 lines

  1. This stuff was written to demonstarte how to make xfd slaves with C
  2. language (and because I had compress and GZip sources :-)
  3.  
  4. This example uses SAS-C as compiler, but it should be possible to use
  5. any other C compiler as well.
  6. Some things are important, when you use another compiler: 
  7. - Either extheader.o or ExeHead.o must be linked as first file.
  8. - You have to link without startup code.
  9. - You should use global data model.
  10. - You may not use any functions, which require dos.library in xfd Slave
  11.   version (with extheader.o).
  12. - Maxon C for example does not support local library bases.
  13.  
  14. There are two possible Files, which can be created:
  15.  
  16. 1) Two xfd Slaves called UNIX-Compress and GZip. This is done by linking
  17.    extheader.o as first object.
  18.    Call 'smake' or 'smake XFD' to get this result
  19. 2) Two normal executables, which enables you to test your routines. This is
  20.    done by linking ExeHead.o as first object.
  21.    Call 'smake EXE' to get this result.
  22.    The executable can get two parameters: the infile and possibly an
  23.    outfile. When no outfile is given, then the save routine is skipped.
  24. 3) Call 'smake All' to get both results.
  25.  
  26. Object files are created in T: and thus need not to be deleted from
  27. source directory.
  28.  
  29. The files extheader.c and ExeHead.c are made in a manor which allows to use
  30. them for other slaves as well.
  31.  
  32. Dirk Stöcker <stoecker@amigaworld.com>
  33.  
  34. 1st November 1998
  35.  
  36.